package com.lagou.bean;


import com.lagou.service.ByeService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

@Component
public class ByeComponent {
    @Reference
    private ByeService byeService;
    public String sayBye(String name) {
        return byeService.sayBye(name);
    }

    public void methodA() {
        byeService.methodA();
    }

    public void methodB() {
        byeService.methodB();
    }

    public void methodC() {
        byeService.methodC();
    }
}
